Lecture notes on “Analysis of Algorithms”: Directed Minimum Spanning Trees
نویسنده
چکیده
We say that u is dominated by v if and only if every path from r to u passes through v. It is not difficult to show that if u is dominated by both v1 and v2, then either v1 dominates v2, or v2 dominates v1. We say that v is the immediate dominator of u if and only if every dominator of u is also a dominator of v. It follows from the previous observation that every vertex u has a unique immediate dominator, which might be r. We define the domination tree of the graph as a tree in which the parent of each vertex other than r is its immediate dominator. There are linear-time algorithms for constructing the domination tree of a graph with respect to a given root.
منابع مشابه
Lecture notes on “ Analysis of Algorithms ” : Directed Minimum Spanning Trees ( More complete but still unfinished ) Lecturer : Uri Zwick
We describe an efficient implementation of Edmonds’ algorithm for finding minimum directed spanning trees in directed graphs. 1 Minimum Directed Spanning Trees Let G = (V,E,w) be a weighted directed graph, where w : E → R is a cost (or weight) function defined on its edges. Let r ∈ V . A directed spanning tree (DST) of G rooted at r, is a subgraph T of G such that the undirected version of T is...
متن کاملLecture notes for “Advanced Graph Algorithms”: Verification of Minimum Spanning Trees
We present a deterministic linear time algorithm for the Tree Path Maxima problem. As a corollary, we obtain a deterministic linear time algorithm for checking whether a given spanning tree T of a weighted graph is a minimum spanning tree.
متن کاملLecture notes for “Analysis of Algorithms”: Minimum Spanning Trees
We present a general framework for obtaining efficient algorithms for computing minimum spanning trees. We use this framework to derive the classical algorithms of Prim, Kruskal and Bor̊uvka. We then describe the randomized linear-time algorithm of Karger, Klein and Tarjan. The algorithm of Karger, Klein and Tarjan uses deterministic linear-time implementations of a verification algorithm of Kom...
متن کاملLecture Notes on Union-Find 15-122: Principles of Imperative Computation
Kruskal’s algorithm for minimum weight spanning trees starts with a collection of single-node trees and adds edges until it has constructed a spanning tree. At each step, it must decide if adding the edge under consideration would create a cycle. If so, the edge would not be added to the spanning tree; if not, it will. In this lecture we will consider an efficient data structure for checking if...
متن کاملUpdating Directed Minimum Cost Spanning Trees
We consider the problem of updating a directed minimum cost spanning tree (DMST), when edges are deleted from or inserted to a weighted directed graph. This problem apart from being a classic for directed graphs, is to the best of our knowledge a wide open aspect for the field of dynamic graph algorithms. Our contributions include results on the hardness of updates, a dynamic algorithm for upda...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013